package com.hafiery.sdk.bluetooth.transport.adapter;

import com.hafiery.sdk.bluetooth.util.LogUtil;

/**
 * @author peng.wang
 */
public class IntegerAdapter implements DataAdapter<Byte> {
    @Override
    public Byte parse(byte[] value) {
        return Integer.valueOf(new String(value),16).byteValue();
    }
}
